<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" /> 
        <title>Vue检测数据改变的原理</title>
        <script type="text/javascript" src="../js/vue.js"></script>
    </head>
    <body>
        <div id="root">
            姓名: {{name}},
            地址: {{address}}
        </div>
    </body>
    <script type="text/javascript">
        Vue.config.productionTip = false // 阻止vue在启动时生成生产提示。

        new Vue({
            el:'#root',
            data:{
                name:'Cetacean',
                address: 'SH'
            }
        })
    </script>
</html>